# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=snmpscan
pkgver=0.1
pkgrel=9
pkgdesc='A free, multi-processes SNMP scanner.'
url='http://www.nothink.org/perl/snmpscan/index.php'
groups=('blackarch' 'blackarch-scanner')
license=('GPL')
arch=('any')
depends=('perl' 'perl-net-snmp' 'perl-net-ip' 'perl-uniq'
         'perl-number-bytes-human')
source=("http://www.nothink.org/codes/snmpscan/$pkgname-$pkgver.pl")
sha512sums=('0e4bd8fce6dfa0fd88365aa09e3a1ee96393ff0308abf9e2b53c747807be6bdd169bf8090b45949511afde6ed4122ef6b9ee3a6b5c24c99a4c6c27e805955006')

package() {
  install -Dm 755 "$pkgname-$pkgver.pl" "$pkgdir/usr/bin/$pkgname"
}

